﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
                assembly="Inovout.Cloud.Applications"
				        namespace="Inovout.Cloud.Applications.Models">
  <joined-subclass name="ProductApplication" extends="Application"
               table="Applications_ProductApplication">
    <key column="ProductApplicationId"/>
    <set name="ApplicationInterfaces" cascade="all">
      <key column="ApplicationId" foreign-key="FK_Core_ProductApplication_ApplicationInterface"/>
      <one-to-many class="Inovout.Cloud.Applications.Models.HttpApplicationInterface"/>
    </set>
    <property name="CreatedTime" access="field.camelcase" />
    <property name="CreatedUserName" access="field.camelcase" />
    <property name="ModifiedTime" access="field.camelcase" />
    <property name="ModifiedUserName" access="field.camelcase" />
    <property name="AccessedTime" access="field.camelcase" />
    <property name="AccessedUserName" access="field.camelcase" />
    <property name="Memo" />
    <property name="IsInvalid" />
  </joined-subclass>
</hibernate-mapping>


